package com.holyant.report.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.domain.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 每日销量统计dto
 * 
 * @author fkmalls
 * @date 2024-05-14
 */
@Data
@ApiModel("每日销量统计")
public class RptChannelSalesDailyDto extends BaseDto {

    private static final long serialVersionUID = 1L;

    /** 账期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "账期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "账期")
    private LocalDate accountDate;
    /** 渠道类型 */
    @Excel(name = "渠道类型")
    @ApiModelProperty(value = "渠道类型")
    private String channel;
    private String srcPlatform;
    /** 商品id */
    @Excel(name = "商品id")
    @ApiModelProperty(value = "商品id")
    private Long goodsId;
    /** 商品名称 */
    @Excel(name = "商品名称")
    @ApiModelProperty(value = "商品名称")
    private String goodsName;
    /** 商品编码 */
    @Excel(name = "商品编码")
    @ApiModelProperty(value = "商品编码")
    private String goodsCode;
    private String goodsBarcode;
    /** 品牌ID */
    @Excel(name = "品牌ID")
    @ApiModelProperty(value = "品牌ID")
    private Long brandId;
    /** 品牌名称 */
    @Excel(name = "品牌名称")
    @ApiModelProperty(value = "品牌名称")
    private String brandName;
    /** 销量 */
    @Excel(name = "销量")
    @ApiModelProperty(value = "销量")
    private BigDecimal salesQty;
    /** 销售额 */
    @Excel(name = "销售额")
    @ApiModelProperty(value = "销售额")
    private BigDecimal salesAmount;
    /** 店铺id/客户id */
    @Excel(name = "店铺id/客户id")
    @ApiModelProperty(value = "店铺id/客户id")
    private Long clientId;
    /** 店铺/客户 */
    @Excel(name = "店铺/客户")
    @ApiModelProperty(value = "店铺/客户")
    private String clientName;
    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;
}
